package com.gr.catanddog_common.damin;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import jdk.jfr.Name;
import jdk.jfr.Registered;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Repository;

/**
 * @author 大睡大唬
 * @version 1.0
 * @description: TODO
 * @date 2024/3/5 17:29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Repository
@TableName("comment")
public class Comment {
    @TableField("passage_id")
    String passageId;
    @TableField("user_token")
    String userToken;
    @TableField("time")
    String time;
    @TableField("text")
    String text;
    @TableField(exist = false)
    String userName;
    @TableField(exist = false)
    String imgUrl;
}
